﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SalePartial.Utility;
using SalePartial.BLL;

public partial class Roles_ManagementWizard : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ////修改页头
            //Page.Header.Title = String.Format("环球零件资源网--网站管理向导");

            //// 检查用户权限并存入使用记录。
            //LoginUserType type = RoleControlManager.checkUserAuthority(User.Identity.Name);
            //if (type == LoginUserType.FREE_SUPPLY
            //    || type == LoginUserType.CERT_SUPPLY || type == LoginUserType.CERT_SUP_PUR
            //    || type == LoginUserType.FREE_SUP_PUR)
            //{
            //}
            //else
            //{
            //    //string radalertscript = "<script language='javascript'>function f(){radalert('Welcome to RadWindow for <strong>ASP.NET AJAX</strong>!', 330, 210); Sys.Application.remove_load(f);}; Sys.Application.add_load(f);</script>";

            //    string radalertscript = "<script language='javascript'>function f(){radopen(\"../../Login/NoPermission.aspx\", null); Sys.Application.remove_load(f);}; Sys.Application.add_load(f);</script>";
            //    Page.ClientScript.RegisterStartupScript(this.GetType(), "radalert", radalertscript);
            //}
        }
    }


    protected void Page_UnLoad(object sender, EventArgs e)
    {
        
    }

}
